package com.photovoltaic.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.photovoltaic.auth.entity.OperationLog;

import java.time.LocalDateTime;
import java.util.List;

public interface OperationLogService extends IService<OperationLog> {
    
    List<OperationLog> findByUserIdAndTimeBetween(Long userId, LocalDateTime start, LocalDateTime end);
    
    List<OperationLog> findByOperationType(String operationType);
    
    void recordLog(Long userId, String operationType, String description, String ip, Integer status);
} 